package com.ruoyi.project.cms.stcal.mapper;



import com.ruoyi.project.cms.stcal.domain.Stcal;

import java.util.List;

public interface StcalMapper {
    //查询公告类型信息
    List<Stcal> selectCmsTypeListMapper(Stcal stcal);
    //校验类型名称的唯一性
    Stcal checkTypeNameUnique(String ppName);
    //新增公告类型
    int insertCmsType(Stcal stcal);
    //根据Id公告类型信息
    Stcal selectTypeByIdMapper(Long reId);
    //根据Id修改公告信息
    int updateCmsTypeMapper(Stcal stcal);
    //删除公告类型
    int deleteTypeByIds(Long[] typeIds);
}
